#pragma once
#include "Sport.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>

#include "ArticleRegister.h"

using namespace std;

class Hockey :
	public Sport
{
private:
	string league;
public:

	Hockey() : league("N/A")
	{
	}
	
	Hockey(int id, string date, string title, string writer, int n, string keyword,  vector<string> players, string league )
		:Sport(id, date, title, writer, n, keyword, players)
	{
		this->league = league;
	}

	~Hockey()
	{
	}

	void setLeague(string league){ this->league = league; }
	string getLeague(){ return league; }

	void print()
	{
		Sport::print();
		cout << "League: " << league;
	}
};

